package com.zimmur.model.order;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.zimmur.model.order.view.OrderServiceView;
/**
 * 订单
 * @author Administrator
 *
 */
public class Order {
    private String orderId;
    /**
     * 订单类型
     * 1=商品/2=家定/3=配饰
     */
    private Integer orderType=0;

    private Long userId;

    private String remark;

    private double standardPrice;

    private double price;

    private double expressFee;

    private double sharePrice;

    private double orderJe;
    /**
     * 00=待付款/10=已付款待发货/20=已发货待完成/30=已完成/90=订单取消/91=超时未支付/40=待退款/50=已退款
     */
    private String oderStatus;
    /**
     * 订单状态描述
     */
    private String orderStatusText;
    
    private Integer createDate;
    /**
     * 付款时间
     */
    private Integer payDate=0;
    /**
     * 支付关联单号
     */
    private String transactionId="";
    
    private String payMethod;
    /**
     * 实付金额
     */
    private BigDecimal payJe;
    /**
     * 已退款金额
     */
    private BigDecimal refundJe;
    
    /**
     * 商品订单数量
     */
    private Integer orderNum;
    /**
     * 消费积分
     */
    private Integer point;
    /**
     * 积分抵扣金额
     */
    private double pointJe;
    /**
     * 收货状态  0=未收货 1=已收货
     */
    private Integer receiptStatus=0;
    /**
     * 1=app, 2=微信, 3=微博, 4=PC, 5=H5
     */
    private Integer source=0;
    /**
     * 售后状态 0无状态 1用户申请审核 2管理员审核当中 3审核完成
     */
//    private Integer aftermarketStatus=0;
    @JsonIgnore
    private String reasonText="";
    /**
     * 闪创订单状态 描述
     */
    private String statusMsg=""; 
    
    private List<OrderDetail> orderDetailList = new ArrayList<>();
    
    private PayExpress payExpress = new PayExpress();
    /**
     * 是否使用优惠券
     */
    private Short isusedCoupon;
    
    private String serviceId="0";
    
    private String applyText = "";
        
    private OrderServiceView serviceView=new OrderServiceView();

    
	public OrderServiceView getServiceView() {
		return serviceView;
	}

	public void setServiceView(OrderServiceView serviceView) {
		this.serviceView = serviceView;
	}

	public Short getIsusedCoupon() {
		return isusedCoupon;
	}

	public void setIsusedCoupon(Short isusedCoupon) {
		this.isusedCoupon = isusedCoupon;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public Integer getOrderType() {
		return orderType;
	}

	public void setOrderType(Integer orderType) {
		this.orderType = orderType;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public double getStandardPrice() {
		return standardPrice;
	}

	public void setStandardPrice(double standardPrice) {
		this.standardPrice = standardPrice;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public double getExpressFee() {
		return expressFee;
	}

	public void setExpressFee(double expressFee) {
		this.expressFee = expressFee;
	}

	public double getSharePrice() {
		return sharePrice;
	}

	public void setSharePrice(double sharePrice) {
		this.sharePrice = sharePrice;
	}

	public double getOrderJe() {
		return orderJe;
	}

	public void setOrderJe(double orderJe) {
		this.orderJe = orderJe;
	}

	public String getOderStatus() {
		return oderStatus;
	}

	public void setOderStatus(String oderStatus) {
		this.oderStatus = oderStatus;
	}

	public String getOrderStatusText() {
		return orderStatusText;
	}

	public void setOrderStatusText(String orderStatusText) {
		this.orderStatusText = orderStatusText;
	}

	public Integer getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Integer createDate) {
		this.createDate = createDate;
	}

	public Integer getPayDate() {
		return payDate;
	}

	public void setPayDate(Integer payDate) {
		this.payDate = payDate;
	}

	public String getTransactionId() {
		return transactionId;
	}

	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}

	public String getPayMethod() {
		return payMethod;
	}

	public void setPayMethod(String payMethod) {
		this.payMethod = payMethod;
	}

	public BigDecimal getPayJe() {
		return payJe;
	}

	public void setPayJe(BigDecimal payJe) {
		this.payJe = payJe;
	}

	public BigDecimal getRefundJe() {
		return refundJe;
	}

	public void setRefundJe(BigDecimal refundJe) {
		this.refundJe = refundJe;
	}

	public Integer getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}

	public Integer getPoint() {
		return point;
	}

	public void setPoint(Integer point) {
		this.point = point;
	}

	public double getPointJe() {
		return pointJe;
	}

	public void setPointJe(double pointJe) {
		this.pointJe = pointJe;
	}

	/*public Integer getAftermarketStatus() {
		return aftermarketStatus;
	}*/

	public Integer getReceiptStatus() {
		return receiptStatus;
	}

	public void setReceiptStatus(Integer receiptStatus) {
		this.receiptStatus = receiptStatus;
	}

	/*public void setAftermarketStatus(Integer aftermarketStatus) {
		this.aftermarketStatus = aftermarketStatus;
	}*/

	public String getReasonText() {
		return reasonText;
	}

	public void setReasonText(String reasonText) {
		this.reasonText = reasonText;
	}

	public List<OrderDetail> getOrderDetailList() {
		return orderDetailList;
	}

	public void setOrderDetailList(List<OrderDetail> orderDetailList) {
		this.orderDetailList = orderDetailList;
	}

	public PayExpress getPayExpress() {
		return payExpress;
	}

	public void setPayExpress(PayExpress payExpress) {
		this.payExpress = payExpress;
	}

	public String getStatusMsg() {
		return statusMsg;
	}

	public void setStatusMsg(String statusMsg) {
		this.statusMsg = statusMsg;
	}

	public Integer getSource() {
		return source;
	}

	public void setSource(Integer source) {
		this.source = source;
	}

	public String getServiceId() {
		return serviceId;
	}

	public void setServiceId(String serviceId) {
		this.serviceId = serviceId;
	}

	public String getApplyText() {
		return applyText;
	}

	public void setApplyText(String applyText) {
		this.applyText = applyText;
	}


}